import { createStore } from 'vuex';

const store = createStore({
	state:{
		"username":"foo",
		"age":18
	},
	getters: {},
	mutations: {
		changeName(state) {
			state.username = "xxx"
		}
	},
	actions: {}
})

export default store